﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FAS.Common.DomainModel;
using FAS.Common;

namespace FAS.Core
{
    public class Formulaid:Entity
    {
        private string _name;
        private string _description;

        public virtual string Name
        {
            get
            {
                return _name;
            }
            set
            {
                if (String.IsNullOrEmpty(value))
                    throw new NotNullException();
                this._name = value;
            }
        }
        public virtual string Description
        {
            get
            {
                return _description;
            }
            set
            {
                if (String.IsNullOrEmpty(value))
                    throw new NotNullException();
                _description = value;
            }
        }
    }
}
